package com.video.video.domain;

import com.video.common.annotation.Excel;
import com.video.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 分组对象 d_grouping
 *
 * @author ruoyi
 * @date 2022-09-29
 */
public class DGrouping extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 分组名称 */
    @Excel(name = "分组名称")
    private String gname;

    /** 分组图片路径 */
    @Excel(name = "分组图片路径")
    private String gurl;

    /** 启用状态 1:启用 2禁用 */
    @Excel(name = "启用状态 1:启用 2禁用")
    private String status;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setGname(String gname)
    {
        this.gname = gname;
    }

    public String getGname()
    {
        return gname;
    }
    public void setGurl(String gurl)
    {
        this.gurl = gurl;
    }

    public String getGurl()
    {
        return gurl;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort()
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gname", getGname())
            .append("gurl", getGurl())
            .append("status", getStatus())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
